var express = require('express')
var router = express.Router()

const {trIssueEntityFactory} = require('../../service/transaction/transactionEntity/trIssueEntityFactory')
const {trIssueEntity} = require('../../service/transaction/transactionEntity/trIssueEntity')
const {trDestoryEntity} = require('../../service/transaction/transactionEntity/trDestoryEntity')

// 发行模版和权益相关路由
router.post('/transaction/trIssueEntityFactory', trIssueEntityFactory());
router.post('/transaction/trIssueEntity', trIssueEntity());
router.post('/transaction/trDestoryEntity', trDestoryEntity());

module.exports = router